/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package nominalitzacions.drivers;

import commonlib.domain.Corpus;
import nominalitzacions.domain.InactiveLanguage;
import nominalitzacions.stubs.Dictionary;
import nominalitzacions.stubs.Rules;

/**
 *
 * @author marc.mauri
 */
public class InactiveLanguageDriver {

    public static void main(String[] args) {
        InactiveLanguage il = new InactiveLanguage();

        Dictionary dico = new Dictionary();

        Corpus corpus = new Corpus();

        Rules rules = new Rules();

        try {
            il.setInfDico(dico);        
        }

        catch (UnsupportedOperationException uoe) {
            System.out.println(uoe.getMessage() );
        }
        
        try {
            il.setIrregDico(dico);
        }
        catch (UnsupportedOperationException uoe) {
            System.out.println(uoe.getMessage() );
        }
        try {
            il.setNameDico(dico);
        }
        catch (UnsupportedOperationException uoe) {
            System.out.println(uoe.getMessage() );
        }

        try {
            il.setCorpus(corpus);
        }
        catch (UnsupportedOperationException uoe) {
            System.out.println(uoe.getMessage() );
        }
        try {
            il.setRules(rules);
        }
        catch (UnsupportedOperationException uoe) {
            System.out.println(uoe.getMessage() );
        }
    }

}
